Skip to content

Playwright extend test coverage over the new topic cards #6524

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged

Conversation

emilghittasv
Copy link
Collaborator

  • Extending the functionality of the kb_article_creation_via_api for it to be able to create kb articles under a certain product, topic and category.
  • Expanding the common_web_elements.py page object to contain topic card locators & functionalities.
  • Adding reference to the test topics in general_data.json
  • Expanding the topic locators & functionalities inside the product_topics_page.py page object.

Expanding playwright coverage over the new topic cards:

  1. Verifying that the article is displayed inside the topic card only after the first revision is approved.
  2. Verifying that the "Verify all {x} Articles" counter successfully increments and decrements.
  3. Verifying that updating an article title is also reflected inside the topic card.
  4. Verifying that obsolete marked articles are not displayed inside the topic cards.
  5. Verifying that category 40, 50, 60 and 70 articles are not listed inside the topic cards.
  6. Verifying that all items from the topic cards for both the product solutions and product support page are redirecting the user to the correct pages.

…it to be able to create kb articles under a certain product, topic and category.

- Expanding the common_web_elements.py page object to contain topic card locators & functionalities.
- Adding reference to the test topics in general_data.json
- Expanding the topic locators & functionalities inside the product_topics_page.py page object.
- Expanding playwright coverage over the new topic cards:
* Verifying that the article is displayed inside the topic card only after the first revision is approved.
* Verifying that the "Verify all {x} Articles" counter successfully increments and decrements.
* Verifying that updating an article title is also reflected inside the topic card.
* Verifying that obsolete marked articles are not displayed inside the topic cards.
* Verifying that category 40, 50, 60 and 70 articles are not listed inside the topic cards.
* Verifying that all items from the topic cards for both the product solutions and product support page are redirecting the user to the correct page.
@emilghittasv emilghittasv merged commit dce015b into mozilla:main Feb 25, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants